You can append data to an existing file in Node.js using the fs.appendFile() method. Here's an example:
fs.appendFile()